.dashboard-wrapper {
  padding: 20px;
  
  .dashboard-section {
    margin-bottom: 30px;
    
    h2 {
      margin-bottom: 16px;
      font-size: 18px;
      font-weight: 500;
      color: #333;
      
      .anticon {
        margin-right: 8px;
        color: #1890ff;
      }
    }
  }
  
  .dashboard-stats {
    .ant-card {
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
      transition: all 0.3s;
      
      &:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      }
      
      .ant-statistic-title {
        color: #8c8c8c;
        font-size: 14px;
      }
      
      .ant-statistic-content-value {
        font-size: 24px;
        font-weight: 500;
      }
      
      .stat-footer {
        margin-top: 8px;
        color: #8c8c8c;
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }
  }
  
  .list-item-extra {
    float: right;
    color: #8c8c8c;
    
    .anticon {
      margin-right: 4px;
    }
  }
  
  .progress-item {
    margin-bottom: 12px;
    
    span {
      display: block;
      margin-bottom: 4px;
      color: #595959;
    }
  }
  
  .stat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .stat-info {
    color: #595959;
    
    p {
      margin-bottom: 8px;
      
      .anticon {
        margin-right: 8px;
        color: #52c41a;
      }
    }
  }
  
  .view-growth {
    margin-top: 4px;
    font-size: 12px;
    color: #8c8c8c;
    
    .up {
      color: #52c41a;
    }
    
    .down {
      color: #ff4d4f;
    }
  }
  
  // 卡片内容样式
  .ant-card {
    border-radius: 4px;
    
    .ant-card-head {
      border-bottom: 1px solid #f0f0f0;
      
      .ant-card-head-title {
        padding: 12px 0;
        font-size: 16px;
        font-weight: 500;
      }
    }
    
    .ant-list-item {
      padding: 8px 0;
      
      a {
        color: #262626;
        display: block;
        width: 100%;
        
        &:hover {
          color: #1890ff;
        }
      }
    }
  }
  
  // 图表样式
  .echarts-for-react {
    height: 400px;
  }
  
  // Tab标签页样式
  .ant-tabs-nav {
    margin-bottom: 16px;
  }
}

.home-page {
  .stat-card {
    margin-bottom: 16px;
  }
  
  .overview-info {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .progress-item {
    margin: 10px 0;
    
    span {
      margin-bottom: 5px;
      display: block;
    }
  }
  
  .stat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .trend-up {
    color: #52c41a;
    font-weight: bold;
  }
  
  .trend-down {
    color: #f5222d;
    font-weight: bold;
  }
  
  .trend-flat {
    color: #999;
  }
  
  .news-card {
    .news-list {
      list-style: none;
      padding: 0;
      margin: 0;
      
      .news-item {
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
        
        &:last-child {
          border-bottom: none;
        }
        
        .news-title {
          font-weight: 500;
          margin-bottom: 8px;
        }
        
        .news-meta {
          color: #999;
          display: flex;
          gap: 16px;
          
          span {
            display: flex;
            align-items: center;
            gap: 4px;
          }
        }
      }
      
      .empty-message {
        text-align: center;
        padding: 24px 0;
        color: #999;
      }
    }
  }
} 